---------------------------------------------------------------------------------------------------------------------------------------------------------
      name:  <unnamed>
       log:  /Users/wesleyblundell/Dropbox/Wes_Supplemental_NEI/JAERE_Replication/Replication_package/log/Table_3_Results.log
  log type:  text
 opened on:  15 May 2024, 10:55:42

. use "$rootpath/processed_data/TAB3_Estimation_Data.dta", clear

. eststo clear

. rename avg_log_budget budget

. rename avg_manufact manufact

. rename avg_old_code_prob Policy

. foreach var of varlist budget - violationproblem {
  2.         
.         regress `var' Policy if state!="AK"&state!="HI", robust
  3.         estimates store res_`var'
  4. }

Linear regression                               Number of obs     =         48
                                                F(1, 46)          =       0.02
                                                Prob > F          =     0.8952
                                                R-squared         =     0.0004
                                                Root MSE          =     .86563

------------------------------------------------------------------------------
             |               Robust
      budget |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
      Policy |    .075097   .5670588     0.13   0.895    -1.066333    1.216527
       _cons |   18.64738   .2144815    86.94   0.000     18.21565    19.07911
------------------------------------------------------------------------------

Linear regression                               Number of obs     =         48
                                                F(1, 46)          =       0.48
                                                Prob > F          =     0.4939
                                                R-squared         =     0.0110
                                                Root MSE          =     .13437

------------------------------------------------------------------------------
             |               Robust
    manufact |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
      Policy |   -.060606   .0878796    -0.69   0.494    -.2374986    .1162865
       _cons |    .250928   .0393236     6.38   0.000     .1717737    .3300824
------------------------------------------------------------------------------

Linear regression                               Number of obs     =         48
                                                F(1, 46)          =       0.13
                                                Prob > F          =     0.7153
                                                R-squared         =     0.0044
                                                Root MSE          =     .35974

------------------------------------------------------------------------------
             |               Robust
enforcemen~m |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
      Policy |  -.1025332   .2793362    -0.37   0.715    -.6648079    .4597415
       _cons |   .8895334   .1057764     8.41   0.000     .6766166     1.10245
------------------------------------------------------------------------------

Linear regression                               Number of obs     =         48
                                                F(1, 46)          =       1.89
                                                Prob > F          =     0.1756
                                                R-squared         =     0.0376
                                                Root MSE          =     .20025

------------------------------------------------------------------------------
             |               Robust
inspection~m |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
      Policy |   .1695222   .1232341     1.38   0.176    -.0785352    .4175796
       _cons |   .8998601   .0700503    12.85   0.000     .7588561    1.040864
------------------------------------------------------------------------------

Linear regression                               Number of obs     =         48
                                                F(1, 46)          =       1.39
                                                Prob > F          =     0.2445
                                                R-squared         =     0.0292
                                                Root MSE          =     .37509

------------------------------------------------------------------------------
             |               Robust
penaltypro~m |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
      Policy |  -.2789413     .23659    -1.18   0.244    -.7551723    .1972898
       _cons |   .9295484   .0829781    11.20   0.000     .7625222    1.096575
------------------------------------------------------------------------------

Linear regression                               Number of obs     =         48
                                                F(1, 46)          =       0.13
                                                Prob > F          =     0.7155
                                                R-squared         =     0.0039
                                                Root MSE          =     .37994

------------------------------------------------------------------------------
             |               Robust
violationp~m |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
      Policy |   -.102329   .2790708    -0.37   0.716    -.6640695    .4594115
       _cons |   .8686296   .1072314     8.10   0.000     .6527841    1.084475
------------------------------------------------------------------------------

. 
. 
. esttab res_enforcementproblem res_penaltyproblem res_inspectionproblem res_manufact res_budget using "$rootpath/table_graph/Table3.tex",  star( * 0.1 *
> * 0.05 *** 0.01) cells(b(star fmt(3)) se(par fmt(3))) keep(Policy) scalars(N F) r2 replace 
(note: file /Users/wesleyblundell/Dropbox/Wes_Supplemental_NEI/JAERE_Replication/Replication_package/table_graph/Table3.tex not found)
(output written to /Users/wesleyblundell/Dropbox/Wes_Supplemental_NEI/JAERE_Replication/Replication_package/table_graph/Table3.tex)

. log close
      name:  <unnamed>
       log:  /Users/wesleyblundell/Dropbox/Wes_Supplemental_NEI/JAERE_Replication/Replication_package/log/Table_3_Results.log
  log type:  text
 closed on:  15 May 2024, 10:55:42
---------------------------------------------------------------------------------------------------------------------------------------------------------
